﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace System.Models.Models
{
    /// <summary>
    /// 监控信息表
    /// </summary>
    [Table("T_Monitoring")]
    public class Monitoring:BaseEntity
    {
        /// <summary>
        /// 监控器名
        /// </summary>
        [Required, Column(TypeName = "varchar"), StringLength(100)]
        public string MonitorName { get; set; }
        /// <summary>
        /// 监控地区
        /// </summary>
        [Required, Column(TypeName = "varchar"), StringLength(100)]
        public string MonitoringArea { get; set; }
        /// <summary>
        /// 大屏链接
        /// </summary>
        [Required, Column(TypeName = "varchar"), StringLength(255)]
        public string LargeScreenSrc { get; set; }

    }
}
